package aop.watson.have;

import java.lang.reflect.Method;

import org.springframework.aop.ThrowsAdvice;

public class MyThrowsAdvice implements ThrowsAdvice {
	
	public void afterThrowing (Method m,Object[] os,Object target,Exception e){
		
		System.out.println("There is something wrong!!! "+e.getMessage());
	}

}
